package com.sukumar.android.backit.activity;

import android.app.Activity;
import android.os.Bundle;

import com.sukumar.android.backit.R;

public class BackItAboutActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		String strSelected = getIntent().getExtras().get("selected").toString();
		if (strSelected.equals(getText(R.string.Usage_btn))) {

			setTitle(R.string.Usage);
			setContentView(R.layout.usage_layout);
		} else if (strSelected.equals(getText(R.string.Changelog_btn))) {

			setTitle(R.string.Changelog);
			setContentView(R.layout.changelog_layout);
		} else if (strSelected.equals(getText(R.string.About))) {

			setTitle(R.string.About);
			setContentView(R.layout.about_layout);

		}

	}

}
